<html>
<head>
<TITLE>eLGU - eRPTS - TM : COLLECTION OF REAL PROPERTY BY OWNER'S NAME</TITLE>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">
<!--




function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="css/elgu.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>

<script language="Javascript">

function openWin(strLink, strWindow, intLeft, intTop, intWidth, intHeight){
	window.open(strLink, strWindow, "position:absolute; left="+intLeft+", top="+intTop+", width="+intWidth+", height="+intHeight+", status=1, toolbar=0, menubar=1, scrollbars=1, resizable=1");
}

function showPrintWindow(){
	ownerIDArray = "";
	for(i=0 ; i < document.RptCollectionByOwner.elements.length; i++){
		if(document.RptCollectionByOwner.elements[i].type=="checkbox"){
			if(document.RptCollectionByOwner.elements[i].checked==true){
				ownerIDArray += "&ownerIDArray[]=" + document.RptCollectionByOwner.elements[i].value;
			}
		}
	}

	if(ownerIDArray==""){
		alert("No Owner(s) checked for printing.");
		return false;
	}

	url = "RptCollectionByOwnerPrint.php{Session}&formAction=view";
	url+= ownerIDArray;

	openWin(url, 'RptCollectionByOwnerPrint', 0, 0, 800, 600);
}

function changePage(){
	doSearch();
}

function doSearch(){
	if(document.RptCollectionByOwner.searchKey.value!=""){
		document.RptCollectionByOwner.formAction.value='search';
	}
	else{
		document.RptCollectionByOwner.formAction.value='';
	}
	document.RptCollectionByOwner.submit();
}

</script>

</head>
<body BGCOLOR=#999999 link="#333333" vlink="#333333" alink="#333333" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<form name="RptCollectionByOwner" action="RptCollectionByOwner.php{Session}" method=post>
<input type="hidden" name="formAction">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> 
      <table WIDTH=100 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
        <tr> 
          <td> <img SRC="images/inner_01.jpg" WIDTH=18 HEIGHT=9 ></td>
          <td> <img SRC="images/inner_02.jpg" WIDTH=27 HEIGHT=9 ></td>
          <td COLSPAN=2> <img SRC="images/inner_03.jpg" WIDTH=598 HEIGHT=9 ></td>
          <td COLSPAN=3 ROWSPAN=2><img SRC="images/steps/step00.jpg" WIDTH=157 HEIGHT=133 ></td>
        </tr>
        <tr> 
          <td> <img SRC="images/inner_05.jpg" WIDTH=18 HEIGHT=124 ></td>
          <td> <img SRC="images/inner_06.jpg" WIDTH=27 HEIGHT=124 ></td>
          <td COLSPAN=2 bgcolor="#CCCCCC"> <img SRC="images/title/title_am_reports.jpg" WIDTH=598 HEIGHT=124 ></td>
        </tr>

		<!-- start of navigation menu -->

        <tr> 
          <td> <img SRC="images/inner_08.jpg" WIDTH=18 HEIGHT=53 ></td>
          <td> <img SRC="images/inner_09.jpg" WIDTH=27 HEIGHT=53 ></td>
          <td COLSPAN=3 align="left" valign="top" background="images/nav/nav_b_08_bg.jpg" bgcolor="#CCCCCC"> 
            <table WIDTH=702 BORDER=0 CELLPADDING=0 CELLSPACING=0>
			   <tr> 
			    <td width="72"> <img SRC="images/nav/nav_a_01.jpg" WIDTH=72 HEIGHT=53 ></td>
				<td background="images/nav_area_bg.jpg">
					<table width="100%%" border="0" cellspacing="0" cellpadding="0">
		  <tr align="center"> 
		   <td width="0" align=left class="common"><b>{uname}</b> : {today}</td>
		   <td width="0" align=right>
			<a href="AssessorsHome.php{Session}" class="navi" title="Assessor's Module : Home">AM : Home</a>
		    <font class="navi">&lt;</font>
			<a href="home.php{Session}" class="navi" title="Home">Home</a>		    
		    <font class="navi">|</font>
			<a href="Logout.php" class="navi" title="Logout">Logout</a>
			<br>&nbsp;
		   </td>
		  </tr>

		  <tr align="center"> 
		   <td width="0" nowrap colspan=2 class="navi">

		   <a href="CalculateRPTOPBatch.php{Session}" class="navi" title="Calculate Taxes">Calculate Taxes</a>

		   &nbsp;&nbsp;
		   |
		   &nbsp;&nbsp;

		   <a href="SOA.php{Session}" class="navi" title="Payments">Payments</a>

		   &nbsp;&nbsp;
		   |
		   &nbsp;&nbsp;

		   <a href="TreasuryMaintenanceHome.php{Session}" class="navi" title="Treasury Maintenance">Treasury Maintenance</a>

		   &nbsp;&nbsp;
		   |
		   &nbsp;&nbsp;

		   <a href="TreasuryReports.php{Session}" class="navi" title="Reports">Reports</a>
		   
		   </td>

		  </tr>

				 </table>
			    </td>
				<td width="75"> <img SRC="images/nav/nav_a_08.jpg" WIDTH=75 HEIGHT=53 ></td>
		       </tr>
			</table>
          </td>
          <td> <img SRC="images/inner_11.jpg" WIDTH=36 HEIGHT=53 ></td>
          <td> <img SRC="images/inner_12.jpg" WIDTH=17 HEIGHT=53 ></td>
        </tr>

		<!-- end of navigation menu -->

        <tr> 
          <td align="center" valign="top"> <img SRC="images/inner_13.jpg" WIDTH=18 HEIGHT=375 ></td>
          <td background="images/inner_14.jpg"> <img SRC="images/spacer.gif" WIDTH=27 HEIGHT=1 ></td>
          <td COLSPAN=3 align="left" valign="top" background="images/background/bg_middle.jpg" bgcolor="#CCCCCC"> 
            <table width="702" height="375" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td align="left" valign="top"> 
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
							<tr>
								<td class="navi" align="left">
								 <br>
								 <a href="TreasuryReports.php{Session}" class="navi">Treasury Reports</a> | <a href="ChartsAndGraphs.php{Session}" class="navi">Charts and Graphs</a> | 
								 <a href="TreasuryOfficialDocuments.php{Session}" class="navi">Official Documents</a>
								</td>					
							</tr>
                    <tr> 
                      <td align="center" valign="top" class="subtitle"> 
                        <table width="90%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr> 
                      <td align="center" valign="top" class="subtitle"><img src="images/spacer.gif" width="10" height="15">

					  <br>Collection of Real Property by Owner's Name
					  <br><br>
					  					  
					  
					  </td>
                    </tr>

					<tr>
					  <td align="center">
                          <table width="90%" border="0" cellspacing="1" cellpadding="2">
                            <tr>
                              <td colspan="3" class="fields" align="left">
							   &nbsp;<B>Check owner(s) and click "Print" to load report.</B>
							   <br>&nbsp;
                              </td>
                            </tr>
							<tr>
                              <td class="fileds_comment" colspan="3" bgcolor="#F6F6F6">
                                search:
                                <input type="text" name="searchKey" value="{searchKey}">
                                <input type="button" name="SubmitSearch" value="Search" onClick="doSearch();">
								<font color="#777777"> (searches for : Owner) </font>
                              </td>
                            </tr>
                            <tr>
                              <td colspan="3" bgcolor="#F6F6F6">
							   &nbsp;<font class="common"><a href="RptCollectionByOwner.php{Session}">view all</a></font>
							   <br>
							   <!-- BEGIN PagesLabel -->
							   &nbsp;<font class="fileds_comment">{currentPage} of {totalPages}</font> 
							   <!-- END PagesLabel -->                               
                              </td>
                            </tr>

							<!-- BEGIN SearchResults -->

							<tr bgcolor="#CCCCCC">
								<td align="center"> 
								 <input type="button" value="PRINT" style="height:20px; width:60px;" onClick="showPrintWindow();">
								</td>
								<td class="fields" align="center">
								 &nbsp;<b>ownerID</b>
								</td>
								<td class="fields" width="85%" align="center">
								 &nbsp;<b>OWNER</b>
								</td>
							</tr>

							<!-- BEGIN OwnerList -->
							<tr bgcolor="#F6F6F6">
								<td class="fields" align="center"> 
								 <input type="checkbox" name="ownerIDArray[]" value="{ownerID}">								 
								</td>
								<td class="fields" align="right"> 
								 <B>{ownerID}</B>
								</td>
								<td class="fields" align="left">
								 {ownerName}
								</td>
							</tr>
							<!-- END OwnerList -->

							<!-- BEGIN PageNavigator -->
                            <tr> 
								<td colspan=3 bgcolor="#F6F6F6" align="center">
									<table border=0 cellpadding=2 cellspacing=0>
									<tr>
										<td align="right" class="fileds_comment">
											<a href="RptCollectionByOwner.php{Session}&page={previous}">&lt;&lt; Previous</a>
										</td>
										<td align="center" class="fileds_comment">
											[
											<select name="page" onChange="changePage();">
				                                <!-- BEGIN Pages -->
				                                <option value="{pages}" {paged}>{pages}</option>
				                                <!-- END Pages -->
											</select>
											of {totalPages}
											]
										</td>
										<td align="left" class="fileds_comment">
											<a href="RptCollectionByOwner.php{Session}&page={next}">Next &gt;&gt;</a>
										</td>
									</tr>
									</table>
								</td>
							</tr>
							<!-- END PageNavigator -->

							<!-- END SearchResults -->

							<!-- BEGIN NotFound -->
							<tr>
							  <td class="fields" colspan="3" bgcolor="#f6f6f6" align="center">
								<br>
								0 records found for "<b>{searchKey}</b>"
								<br>&nbsp;
							  </td>
							</tr>
							<!-- END NotFound -->


						  </table>
					  </td>
					</tr>



                    <tr> 
                      <td align="center" valign="top"><img src="images/spacer.gif" width="10" height="15"><a name="#down"></a></td>
                    </tr>
                    <tr> 
                      <td align="center" valign="top" class="fileds_comment">
					    <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
						Tampering 
                        with this system is criminally punishable under Philippine 
                        Laws.<br>
                        &copy; Republic of the Philippines National Computer Center. 
                        All Rights Reserved. </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td background="images/inner_16.jpg"> <img SRC="images/spacer.gif " WIDTH=36 HEIGHT=375 ></td>
          <td> <img SRC="images/inner_17.jpg" WIDTH=17 HEIGHT=375 ></td>
        </tr>
        <tr> 
          <td> <img SRC="images/inner_18.jpg" WIDTH=18 HEIGHT=39></td>
          <td> <img SRC="images/inner_19.jpg" WIDTH=27 HEIGHT=39></td>
          <td> <img SRC="images/inner_20.jpg" WIDTH=355 HEIGHT=39></td>
          <td> <img SRC="images/inner_21.jpg" WIDTH=243 HEIGHT=39></td>
          <td> <img SRC="images/inner_22.jpg" WIDTH=104 HEIGHT=39></td>
          <td> <img SRC="images/inner_23.jpg" WIDTH=36 HEIGHT=39></td>
          <td> <img SRC="images/inner_24.jpg" WIDTH=17 HEIGHT=39></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</form>
</body>
</html>